/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="DETALHESMATMED")
public class DetalhesMatMedProteu implements Serializable{

    @Id
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="DMM_CODIGO_TISS")
    private String dmmCodigoTiss;
    @Column(name="DMM_DT_DATA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dmmDtData;
    @Column(name="LANC_ST_CODIGO")
    private String lancStCodigo;
    @Column(name="LANC_ST_NF")
    private String lancStNF;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="PAC_ST_MATRICULA")
    private String pacStMatricula;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="DMM_ST_NUM_GUIA")
    private String dmmStNumGuia;
    @Column(name="DMM_DT_DATA_GUIA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dmmDtDataGuia;
    @Column(name="DMM_ST_TIPO_GUIA")
    private String dmmStTipoGuia;
    @Column(name="DMM_FL_VLR_UNITARIO")
    private Float dmmFlVlrUnitario;
    @Column(name="DMM_FL_QUANTIDADE")
    private Float dmmFlQuantidade;
    @Column(name="DMM_FL_DESCONTO")
    private Float dmmFlDesconto;
    @Column(name="DMM_FL_VLR_TOTAL")
    private Float dmmFlVlrTotal;


    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getDmmCodigoTiss() {
        return dmmCodigoTiss;
    }

    public void setDmmCodigoTiss(String dmmCodigoTiss) {
        this.dmmCodigoTiss = dmmCodigoTiss;
    }

    public Date getDmmDtData() {
        return dmmDtData;
    }

    public void setDmmDtData(Date dmmDtData) {
        this.dmmDtData = dmmDtData;
    }

    public Date getDmmDtDataGuia() {
        return dmmDtDataGuia;
    }

    public void setDmmDtDataGuia(Date dmmDtDataGuia) {
        this.dmmDtDataGuia = dmmDtDataGuia;
    }

    public Float getDmmFlDesconto() {
        return dmmFlDesconto;
    }

    public void setDmmFlDesconto(Float dmmFlDesconto) {
        this.dmmFlDesconto = dmmFlDesconto;
    }

    public Float getDmmFlQuantidade() {
        return dmmFlQuantidade;
    }

    public void setDmmFlQuantidade(Float dmmFlQuantidade) {
        this.dmmFlQuantidade = dmmFlQuantidade;
    }

    public Float getDmmFlVlrTotal() {
        return dmmFlVlrTotal;
    }

    public void setDmmFlVlrTotal(Float dmmFlVlrTotal) {
        this.dmmFlVlrTotal = dmmFlVlrTotal;
    }

    public Float getDmmFlVlrUnitario() {
        return dmmFlVlrUnitario;
    }

    public void setDmmFlVlrUnitario(Float dmmFlVlrUnitario) {
        this.dmmFlVlrUnitario = dmmFlVlrUnitario;
    }

    public String getDmmStNumGuia() {
        return dmmStNumGuia;
    }

    public void setDmmStNumGuia(String dmmStNumGuia) {
        this.dmmStNumGuia = dmmStNumGuia;
    }

    public String getDmmStTipoGuia() {
        return dmmStTipoGuia;
    }

    public void setDmmStTipoGuia(String dmmStTipoGuia) {
        this.dmmStTipoGuia = dmmStTipoGuia;
    }

    public String getLancStCodigo() {
        return lancStCodigo;
    }

    public void setLancStCodigo(String lancStCodigo) {
        this.lancStCodigo = lancStCodigo;
    }

    public String getLancStNF() {
        return lancStNF;
    }

    public void setLancStNF(String lancStNF) {
        this.lancStNF = lancStNF;
    }

    public String getPacStMatricula() {
        return pacStMatricula;
    }

    public void setPacStMatricula(String pacStMatricula) {
        this.pacStMatricula = pacStMatricula;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DetalhesMatMedProteu other = (DetalhesMatMedProteu) obj;
        if ((this.agdStCodigo == null) ? (other.agdStCodigo != null) : !this.agdStCodigo.equals(other.agdStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 41 * hash + (this.agdStCodigo != null ? this.agdStCodigo.hashCode() : 0);
        return hash;
    }
    

}
